import { defineStore } from 'pinia'
import { ref, computed } from 'vue'
import { userGetInfoService } from '@/api/user'
import { getCartList } from '@/api/cart'

export const useCartStore = defineStore(
  'app-cart',
  () => {
   
      
    
    return {
      getCartAction,
      cartList,
      doubleCount,
      selCartList,
      selCount,
      selPrice,
      isAllChecked,
      toggleCheck,
      toggleAllCheck
    }
  },
  { persist: true }
)
